<?php
$mode		= $this->uri->segment(3);

if ($mode == "sts" || $mode == "act_sts") {
	$act		= "act_sts";

	$idp		= $datpil->id;

}

?>
<div class="navbar navbar-inverse">
	<div class="container">
		<div class="navbar-header">
			<span class="navbar-brand" href="#">Status Surat Masuk </span>
		</div>
	</div><!-- /.container -->
</div><!-- /.navbar -->

	<form action="<?=base_URL()?>admin/surat_masuk/<?php echo $act; ?>" method="post" accept-charset="utf-8" enctype="multipart/form-data">

	<input type="text" name="idp" value="<?php echo $idp; ?>">
	<input type="text" name="id_disposisi" value="<?php echo isset($datpil->id_disposisi)?$datpil->id_disposisi:'0'; ?>">



	<div class="row-fluid well" style="overflow: hidden">

	<div class="col-lg-6">
		<table width="100%" class="table-form">
		<tr>
			<td width="20%">Status</td>
			<td>
			<!-- 	<select name="status" class="form-control">
					<?php //  echo $this->mdl_reff_status->get_select_reff_status($d); ?>
				</select> -->
				<b><input type="text" name="status" class="form-control" value="selesai" readonly="true" style="width: 200px"></b>
			</td>
		</tr>
		<tr>
			<td width="20%">File</td>
			<td><b>
				<input type="file" name="file_Status" class="form-control" style="width: 200px">
				</b>
			</td>
		</tr>
		<tr>
			<td width="20%">Keterangan</td>
			<td><b>
				<textarea name="ket" required style="width: 400px; height: 60px" class="form-control"></textarea>
				</b>
			</td>
		</tr>
		<tr>
			<td colspan="2">
			<br><button type="submit" class="btn btn-primary">Simpan</button>
			<a href="<?=base_URL()?>admin/surat_masuk/<?php echo $this->uri->segment(3); ?>" class="btn btn-success">Kembali</a>
			</td>
		</tr>
		</table>
	</div>

	</div>
	</form>